4D Chart v13

CT Get display

Home

 
4D Chart v13
CT Get display

CT Get display 


 

CT Get display ( area ; item ) -> Function result 
Parameter Type   Description
area  Longint in 4D Chart area
item  Integer in Item for which to get information
Function result  Integer in 0 = the specified item is not being displayed 1 = the item is being displayed

Use CT Get display to find out whether certain features of the 4D Chart window are being displayed.

CT Get display returns 0 if the specified item is not being displayed, and 1 if the item is being displayed.

The menu bar, Chart Tool palette, Object Tool palette, scroll bars, and rulers can be hidden or displayed in the User environment or programmatically, using the CT SET DISPLAY command.

The codes for the item parameter are:

CodeItem
1Menu Bar
2Chart Tools
3Object Tools
6Scroll Bars
9Rulers

Example  

This example checks to see if the menu bar is disabled and then disables it if it is not.

 If(CT Get display(Area;1)=1)
    CT SET DISPLAY(Area;1;0)
 End if

 
PROPERTIES 

Product: 4D Chart
Theme: CT Area Control
Number: 14522

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT SET DISPLAY